bugün məsləhət təsadüfi
sözaltı sözlük
postlar Yoxlama mesaj

...

claude code

əjdahalar   googlla
sublime text - anime - dress code - back-end developer materialları - github copilot - impressionizm - vibe coding - snuff - anthropic
    12. token qənaəti üçün claude.md faylına belə yazmaq olar

    ## Token Efficiency — CRITICAL

    **NEVER use the Agent tool.** It wastes tokens by opening a second context window.
    - Use `Grep` for all code/text searches
    - Use `Glob` for file searches
    - Use `Read` for reading files
    - Use `Bash` only for shell commands that dedicated tools cannot handle

    No exceptions. Direct tools only.

    çünki bir də görürsən sub agentə tapşırıq verir, subagent 50k token işlədir. məsələn kodun bir hissəsinin necə işlədiyini tapmaq istəyirsən, o da bunu subagentə tapşırır. amma grep ilə bunu özü də tapa bilərdi və daha az token xərcləyərdi.

    hətta daha da optimallaşdırmaq olar. read edərkən bütün faylı yox, birinci search edib uyğun sətirləri tap sonra həmin sətirləri oxu.

şərhlər:

hələ şərh yoxdur.


hamısını göstər

üzv ol

...